package com.mymoney.constants;

import java.text.SimpleDateFormat;

public class Constants {
	
	//Service configurations
	//public static final String host = "http://95.111.87.23:8080";
	public static final String host = "http://localhost:8080";
	public static final String contexPath = "/MyMoneyServices/rest";

    // Testing constants
    public static final String PRIVATE_STORAGE_ARCHIVES_LOCATION = "archives/";

    public static final String TRUSTSTORE_PASSWORD = "614352";

    // Intent constants
    // key for destinationPath property passed in intent extras
    public static final String DESTINATION_PATH = "destinationPath";
    
    // key for url property passed in intent extras
    public static final String URL = "url";


    // Preference keys
    public static final String SERVER_ADDRESS_KEY = "serverEndpoint";


    // c2dm constants
    public static final String C2DM_RECEIVE = "com.google.android.c2dm.intent.RECEIVE";
    public static final String C2DM_REGISTRATION = "com.google.android.c2dm.intent.REGISTRATION";
    public static final String C2DM_REGISTER = "com.google.android.c2dm.intent.REGISTER";
    public static final String C2DM_SENDER_ID = "android.musala@gmail.com";
    public static final String C2DM_REGISTRATION_ID_KEY = "c2dmRegistrationId";

    // Facebook sharing constants
    public static final String FACEBOOK_LINK = "facebookLink";
    public static final String FACEBOOK_PICTURE = "facebookPicture";
    public static final String FACEBOOK_NAME = "facebookName";
    public static final String FACEBOOK_DESCRIPTION = "facebookDescription";
    public static final String FACEBOOK_TOKEN = "accessToken";
    public static final String FACEBOOK_EXPIRES = "accessExpires";
    public static final String FACEBOOK_KEY = "facebookCredentials";
    public static final String FACEBOOK_APP_ID = "112251172220528";

    public static final String DEVICE_PREFERENCIES = "deviceSharedPreferencies";
    public static final String DEVICE_REGISTER = "registered";

    public static final String COMMON_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
    public static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat(COMMON_DATE_FORMAT);

    public static final String DISPLAY_DATE_FORMAT_STRING = "dd/MM/yyyy";
    public static final SimpleDateFormat DISPLAY_DATE_FORMAT = new SimpleDateFormat(
                    DISPLAY_DATE_FORMAT_STRING);

    // Shared Preference constants
    public static final String DEVICE_ID_KEY = "deviceId";
    public static final String DEVICE_TYPE_KEY = "deviceType";
    public static final String DEVICE_PRIMARY_ACCOUNT = "deviceprimaryAccount";

    public static final String TABLET_PLATFORM_CODE = "4";
    public static final String LARGE_PHONE_PLATFORM_CODE = "2";
    public static final String SMALL_PHONE_PLATFORM_CODE = "1";
    public static final String OS = "android";
    public static final long SURVEY_CODE = 123;
}
